const {VUE_APP_sPath,VUE_APP_sAuth} = process.env;
const fromType=(navigator.userAgent.indexOf('iPhone') > -1)?2:1;
sessionStorage.platType=fromType;
//api.midooyx.net/waibao/waibaoget
export default {
    "ban":        `${VUE_APP_sPath}/index/newindex?fromtype=${fromType}`,              //首页轮播
    "loadlist":   `${VUE_APP_sPath}/index/newgameagentlist?fromtype=${fromType}`,      //首页加载更多列表
    "typelist":   `${VUE_APP_sPath}/index/newindextypegamelist?fromtype=${fromType}`,  //首页分类列表
    "rank":       `${VUE_APP_sPath}/index/gametoplist?fromtype=${fromType}`,           //首页排行榜
    "notice":     `${VUE_APP_sPath}/index/noticelist`,                                 //首页公告
    "noticedet":  `${VUE_APP_sPath}/index/appnoticeinfo`,                              //首页公告详情
    "indmorelist":`${VUE_APP_sPath}/index/getoneindextypegame?fromtype=${fromType}`,   //首页游戏查看更多列表
    "serinfo":    `${VUE_APP_sPath}/stat/serverlist?fromtype=${fromType}`,             //首页开服信息
    "search":     `${VUE_APP_sPath}/stat/gamesearch?fromtype=${fromType}`,             //游戏搜索
    "sealog":     `${VUE_APP_sPath}/stat/addsearchlog?fromtype=${fromType}`,           //游戏搜索统计
    "info":       `${VUE_APP_sPath}/stat/gameinfo?fromtype=${fromType}`,               //游戏详情开服
    "down":       `${VUE_APP_sPath}/stat/getgameagent?fromtype=${fromType}`,           //分渠道下载
    "count":      `${VUE_APP_sPath}/stat/downstatistics`,                              //下载统计post请求
    "appdown":    `${VUE_APP_sPath}/auth/appversion?fromtype=${fromType}`,             //app平台下载链接
    "cate":       `${VUE_APP_sPath}/stat/gamelist?fromtype=${fromType}`,               //分类
    "list":       `${VUE_APP_sPath}/stat/index?fromtype=${fromType}`,                  //开服列表
    "reg":        `${VUE_APP_sAuth}/wapauth/mobilelogin`,                              //邀请注册post请求/auth/invitereg
    "gift":       `${VUE_APP_sPath}/libao/wapgamegiftlist?fromtype=${fromType}`,       //礼包列表
    "indgift":    `${VUE_APP_sPath}/libao/wapgiftcenter?fromtype=${fromType}`,         //礼包中心
    "infogift":   `${VUE_APP_sPath}/libao/wapgiftinfo?fromtype=${fromType}`,           //礼包详情
    "moregift":   `${VUE_APP_sPath}/libao/wapmoregamegiftlist?fromtype=${fromType}`,   //礼包中心查看更多
    "giftsea":    `${VUE_APP_sPath}/libao/wapgiftgamesearch?fromtype=${fromType}`,     //礼包搜索
    "comment":    `${VUE_APP_sPath}/evaluate/wapevaluatelist?fromtype=${fromType}`,    //游戏详情评论
    "gamelist":   `${VUE_APP_sPath}/goods/goodslist?fromtype=${fromType}`,             //开局号列表
    "gameselect": `${VUE_APP_sPath}/goods/goodsselect?fromtype=${fromType}`,           //开局号排序
    "gamedet":    `${VUE_APP_sPath}/goods/goodsinfo?fromtype=${fromType}`,             //开局号详情
    "code":       `${VUE_APP_sAuth}/wapauth/sendmobilecode`,                           //获取短信验证码post请求
    "qrcode":     `${VUE_APP_sPath}/auth/getchannelqrcode`,                            //获取下载二维码图片地址
    "iosurl":     `${VUE_APP_sAuth}/wapauth/iosurl`,                                   //ios下载链接
    "signcheck":  `${VUE_APP_sPath}/auth/badchannel`,                                  //验证失效的邀请码
    "vouevent":   `${VUE_APP_sPath}/stat/voucherevent`,                               //通用抵扣券说明
    "vouindex":   `${VUE_APP_sPath}/index/webcommonvoucherlist`                      //通用抵扣券列表数据
}
